package com.woniu.info.service;

import com.woniu.entity.PageResult;
import com.woniu.info.entity.MessageDTO;
import com.woniu.info.pojo.Message;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 消息通知表 服务类
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
public interface IMessageService extends IService<Message> {

    void addMessage(Message message);

    void deleteMessage(String id);

    void updateMessage(Message message);

    PageResult<Message> queryMessage(Integer currentPage, Integer pageSize, MessageDTO messageDTO);
}
